package main.java.Fzy.Demo.MyThread;


import java.util.ArrayList;
import java.util.List;

public class TestL {

    public static void main(String[] args) {
        List list = new ArrayList<Integer>();

        list.add("A");
        list.add("B");
        System.out.println(list.get(1));
    }

}

abstract class Person{
    abstract void doSomething();
}
class Man extends Person{
    public Man(){
        System.out.println("I am a");
    }

    public static void main(String[] args){
        Man man = new Man();
    }

    @Override
    void doSomething() {

    }
}
